package com.ruoyi.standingbook.evaluate.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.ruoyi.api.dto.evaluate.EnvironmentDeductMarksDto;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.standingbook.evaluate.domain.Evaluate;
import com.ruoyi.standingbook.evaluate.domain.vo.EvaluateVo;

/**
 * 市环境测评Mapper接口
 *
 * @author cc
 * @date 2023-04-27
 */
public interface EvaluateMapper extends BaseMapperPlus<EvaluateMapper, Evaluate, EvaluateVo> {

	List<EnvironmentDeductMarksDto> getEnvironmentDeductMarksDtoList(
			@Param(Constants.WRAPPER) Wrapper<Evaluate> queryWrapper);

    List<Evaluate> getAvgScoreMonth(Evaluate evaluate);

    List<Evaluate> getAvgScoreYear(Evaluate evaluate);
}
